home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / unretex.zip / UNRETEX.DOC < prev    next >
Text File  |  1989-04-03  |  654b  |  26 lines

  1. This little hack `unTeXs' a file, and then merges the commands back in a
  2. modified file.  Written for spelling checkers.
  3.  
  4. Usage:
  5.  
  6.     unretex [infile [outfile]]
  7.  
  8.         Removes the TeX commands from infile, and writes the
  9.         output to outfile.  Very simple algorithm.
  10.  
  11.     unretex -r origfile [infile [outfile]]
  12.  
  13.         Merges the original TeX commands from origfile into
  14.         the (perhaps spelling corrected) infile to outfile.
  15.  
  16. Thus, you might use it as follows:
  17.  
  18.     unretex myfile.tex myfile.utx
  19.     spell myfile.utx
  20.     unretex -r myfile.tex myfile.utx myfile.ntx
  21.  
  22. Now, myfile.ntx contains the spelling-corrected version of myfile.tex.
  23. Simple, eh?
  24.  
  25. -tom
  26.